package org.example.dto;

import java.io.Serializable;

/**
 * @author Ronchang Wu
 */
public class GradeDto implements Serializable {
    private static final long serialVersionUID = 7443515453866326115L;

    private Integer gradeId;
    private String department;
    private String major;
    private String gradeName;

    public GradeDto() {
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    @Override
    public String toString() {
        return "GradeDto{" +
                "gradeId=" + gradeId +
                ", department='" + department + '\'' +
                ", major='" + major + '\'' +
                ", gradeName='" + gradeName + '\'' +
                '}';
    }
}
